package com.shop.loan.mapper;

import com.shop.loan.model.entity.LoanOrderContractByMybatis;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoanOrderContractByMybatisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LoanOrderContractByMybatis row);

    int insertSelective(LoanOrderContractByMybatis row);

    LoanOrderContractByMybatis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LoanOrderContractByMybatis row);

    int updateByPrimaryKey(LoanOrderContractByMybatis row);

    int deleteByOrderId(@Param("orderId") Long orderId);

    List<LoanOrderContractByMybatis> selectByOrderId(@Param("orderId") Long orderId, @Param("needSign") Boolean needSign);
}